home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q1082.dms
/
q1082.adf
/
src.lzh
/
Fig
/
paintop.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-18
|
615b
|
34 lines
/*
* FIG : Facility for Interactive Generation of figures
*
* Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
* November 1985.
*
* %W% %G%
*/
#ifndef X11
#ifdef AMIGA
#define INV_PAINT 1
#define MERGE 2
#define PAINT 3
#define ERASE 4
#else
#define INV_PAINT (PIX_SRC ^ PIX_DST)
#define MERGE PIX_SRC|PIX_DST
#define PAINT PIX_SRC
#define ERASE PIX_NOT(PIX_SRC)
#endif
#else
#define INV_PAINT GXxor
#define MERGE GXor
#define PAINT GXcopy
#define ERASE GXcopyInverted
#endif X11
#define DRAW 1
#define UNDRAW 0